<?php

/*
**	ACTION intiateOAuth
**	Initiate OAuth process with Twitter
*/

// TODO: Compute the proper outcome
$outcome = 'redirectToTwitter';

switch ($outcome) {
	/*
		Outcome: Redirect user to Twitter for login
	*/
	case 'redirectToTwitter':
		$messageClass = 'success';
		redirect('http://twitter.com/oauth/authenticate');
		break;
	default:
		show_error("Unexpected outcome '$outcome' to action 'intiateOAuth' on page 'auth'.");
}

/* clickframes::version=1078485568::clickframes */
?>